<!-- html -->
<template>
  <!-- 默认插槽 -->
  <slot>
    <span class="span2">新闻默认内容</span>
  </slot>
</template>

<!-- js或ts -->
<script lang="ts">
export default {
  name: 'slotTest1Child'
}
</script>

<!-- js或ts -->
<script setup lang="ts">
</script>

<!-- 样式 -->
<style scoped></style>